- Added some comments to recent code.
- Added some object types to the function declarations.