Compatible with iron-router 0.5.4 and 0.6.0