Change shape class to component