Can now pass className to MediaObject.