Inline assert functions.