It should return void as SceneBuilder::addRetained is returning void. Thanks yjbanov@ for finding this typo!