A package and methods for treating a wellbore using the same. In one embodiment, the method comprises servicing a wellbore in contact with a subterranean formation by placing a material in the wellbore, wherein the material is disposed within a closed container. The material is suitable for use in a wellbore and is capable of plugging a flow pathway. The method further comprises releasing the material from the container. In an embodiment, the material is a swelling agent, which may plug a permeable zone.