Attach classes to game objects