Creating separate component for shape classes.