Make class mapper aware of TS structures other than lib + 1 level