Use generics on class Loader (dirty way)