Added package `function` for processing data function definitions.
Implemented Function::apply().