Changed return type of addEntity to void to please karaf