Bug fix: double definition of media_gallery fixed.