Adds more user-friendly option for specificying function type