Fix class attr in nom.lambda function