Assert only on valid decls.