Add assertion methods.