Replaced instance calls with static ones.