Cleaning up formula definitions.