Fix incompatibility with resources 1.2.8 (#10)