And fixed a bug added along with documentation.