Extracted ease functions as global functions.