Do also accept bool as valid type name. Don't know why Squiz don't like them.