cleaning up generated java class registry