Assert functions.