Fixed sponge plugin. Resolves #1