Bumped version to 1.5.0.
Simplified output encode option implementation.