Characterizations of the category of topological spaces