Better support for boolean attributes. Closes #63. Version 0.5.3