Allow calling static methods as constructors

PR for #66, tests pass.