Replace dynamic calls with static ones