Removed $type from JavaClassObjects.
Removed type from JavaObjects.