Revert "Only define Collection.prototype.allow/deny on the server."

This reverts commit 2294da1297423147011ffd8441092026abdcd26a.