Made geometry classes abstract