improved style of API (methods, functions, classes)