Removed redundant 'sleepMS' function in the application class.