Updated Hash and added ToArray Interface