Error with getStyleHandler.
Optimize less for attach handler