Adding type and removing unneeded comments.
Using stream transforms and unsubscribing to stdin stream.