Fix non-static method call