Updated version of the class after mysterious code change

Signed-off-by: Marcin Wiatr <mail.wichura@gmail.com>