Fixed syntax error and removed unused imports
Merge pull request #5420 from levigross/devel

Fixed syntax error and removed unused imports