Use assert in wrappers