Add support for calling static methods in behaviors