Cleanup: class loader deprecation and simplification

Time to get rid of this thing: marking it as deprecated.
This logic was probably written because previous implementors didn't know that `is_callable()` just works