Moved getHash to factory / updated Empanada model