Revise the processMedia and removeMedia methods