Read the error, it tells you what you've done wrong and why it won't work. I don't think you can do it, just instantiate an object.
I've personally never understood why people use "class methods" in other languages, unless it's simply because they don't have support for namespaces like python does.