Improved documentation and support for boolean input.