I felt it was cleaner to pass `type` explictly, rather than having `obj.class.name.tableize.singularize` in a bunch of places.