added support for static method as commands