samples fixes
documentation fixes
made TypeLoader public