Moved the setting of default styles.