Fixes relationship loading to support PSR-0.