Bump version to 0.2.4 for release.

Also remove an unused import in contrib/