Fix error message in require_type
Bugfixes and accept a ready hash in ReloadingMapper