Version number bumped to 0.3.1 for making encoding a feature.