added support for inherited fields/methods