Make style cms compilant(er)

Also removed unused center class