Cleans up assertions