Typo's fixed.
Unwanted properties removed.
Cleaned up code.