Removed dangling whitespace.
Can override name attribute if desired.
Removed debug statements and some trailing whitespace