Added media item selection in resources.
Has probably broken most routes.