Add referenced geometries
Fix configure
Rename functions for ref and exact types