Just use hashmap for everything.