Handle theme supports in a more convenient way