Custom processing of functions