Improved most expensive functions calls.