Added minimal validation and usage help.