Prepare gamefield for inner classes.