Improved custom styles register.