Add type specification in assert statement.