Rewrite LoadMedia class