Pedantic adds

Remove useless spaces, fix code documentation.