Added PropertyAccess as a dependency
Removed deprecated PropertyPath calls
Removed deprecated getClassMetadata() call