Function simplification.