Added hashmap for locals.