Collect non-public methods; fixing inheritance distance calculation for interfaces and arrays