Made hash options work on 1.8.x.