Commented some methods in class Engine.