Updated function.options to match Aristeides' changes.