Replaced get with fromArray and fromObject