Removes media code