restore gen overriding methods