Tiny refactorings

While scanning the code I found some possible improvements.

WDYT?
:+1: for compiling. Nice!