Merging function body generation classes.