Fix Replication NPE: Ensure class is managed on locateObject