def __init__(cls, name, bases, dict):
<EOL>type.__init__(cls, name, bases, dict)<EOL>if issubclass(cls, Repository):<EOL><INDENT>REPOSITORY_TYPES.add(cls)<EOL><DEDENT>
Register a :class:`Repository` subclass as soon as it is defined.