Remove comments and cleanup code.

Signed-off-by: Gary Pamparà <gpampara@gmail.com>