Reworked after re-re-review.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>