Encoded an object. Implemented an automatrice.