Refactored function calls.