Handle define/lambda functions