Adding geometry methods.