Fixed modeshape class for java7