Implements sync/applyStyles in controllers, untested.