fix initializr and add attribute shortcuts