Initial commit of 'function options' pattern for waveform package