Removed duplicated emulations, and made changes related to time and Timer.