Modify hash assignment to maintain consistent style