Better initialization of custom theme.