Load style module only when needed

Change-Id: I5626325ad634de4fb5c97282d14e48e4d3d812cc
Phabricator: T672
Merge "Load style module only when needed"