Fixed className in createProxy and changed validation for DomainMapper::find()