Added IdentityFunction for testing purposes.