FIX: setting of default factory
UPDATE: change 'instanceof' paramter of object type on 'instanctOf'