Support "Class::method" syntax