Make RefObjectId a static nested class - fix new findbugs warning