Create instance of hash type class