Implement AutoShape support