Refactoring FPM calls to reduce redundancy.