Fix bug in 'convertCoords' and removed smart pointer functionality for classes.