allow the user to pass in extra options when saving an object