Allow folding of function definitions within classes.