Fix method name

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

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