Adding more config options and documentation.