Added generic brightness functionality

See Line #192 for more details.