Added generated hasXpto methods