Add some assertion helpers.