Doctrine2 multi-platform support for spatial types and functions.