Add support for custom option defaults

Self-explanatory.