Add referance->reference and friends From https://github.com/omegav/ovdmx/commit/dd701febed66a2ea2cf08634e593b3398e26f676