Adding 'version' method [ci skip]