Allow to pass class to load() explicitly

This will allow to skip expensive class resolution, when class is
already known.