Added options and documentation.