Fix static call to non-static method