Don't generate methods without name or cname