Support separate resource and collection.
Fixed demo.
Version bump to 0.0.25.