Add missing assertion.