fixes #100: don't generate chaining code if method doesn't override base class method