Need to check for boolean type.