Fix doc blocks consistency

Use "bool" instead of "boolean" and "int" instead of "integer" in doc blocks for consistency.