Seems to me it would be nice if users could specify a function to be invoked instead of limiting them with just two options.