Add asserts for internal methods