Added collections.rest plugin, fixed deps bug