Set names to objects