Added 'ShapeEntity' and updated Javadoc.