Adding anonymous functions to CLS