Fixed inconsistent nesting problem.
Removed unused functions.
Removed unused import.
Minor correction.
Bumped version number.