Adding a class to simulate Unity's behavior to improve debugging.