Fix method call with static keyword