Modified to use core-style.