Added named functions, rest arguments and mem