Removed duplicate instantiations, fixed pep8 space issue.