Adding usage notes, better parameter detection, better error handling.