[ issue-1252 ] Minor revision

* Added type signatures
* Fixed typos
* Cosmetic changes
* Fixed indentation