Introduced type-checking on setTimeout() timeout argument.