updated method signatures

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