Converts a context parameter to a regular function parameter.