Added module option
Added disallowbool option
More test coverage
Added documentation