Changed interfaces

Signed-off-by: Alexander Book <redchrome@gmx.de>