Better generic type arguments for the base path descriptors, fixed a whole bunch of compiler warnings
fixed more compiler warnings