Add new Porous capsule type. Factored out common code.