Fixing call to static method