Fix method call

Signed-off-by: Michal Čihař <michal@cihar.com>