Added method prototype info for methods and fixed method inheritance info