Documented a bit more the code.