Removed unused function.
Raise 404 if collection not found.