Prototype Shape class