1. improved the implementation of StreamTask field modification, following issue #39
2. removed unused imports