Added some utility functions for LEDs; added bool type.