Implement real imageName primitive
Don't pass around compactClasses, mark classes instead
Use actual oops instead of ids