avoid multiply inheritance, automoc

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>