new api: change method to properties

Also some methods were changed to properties. Fix it.

Signed-off-by: Michael Walle <michael.walle@kontron.com>