Added theme support functions.