Simplified styledocco and removed hack