add support for static method