@version.setter<EOL><INDENT>def version(self, version):<DEDENT>
if isinstance(version, type_check):<EOL><INDENT>self._version = int(version)<EOL><DEDENT>elif isinstance(version, int):<EOL><INDENT>self._version = version<EOL><DEDENT>
Cast string versions to int (if read from a file etc)