Try this.
package Blah
function BlahImage::onMount(%this, %obj, %slot)
{
parent::onMount(%this, %obj, %slot);
if(%obj.getMountedImage(2).getName() $= "BlahImage")
{
%obj.unMountImage(2);
}
}
};
activatePackage(Blah):
Replace the Blahs with the appropriate stuff.