Updated metadata declaration type scope.