Use 1.8 compatible hash declaration