Pass options to #defer
Move definition of conversion functions out of module initializer.