Adds nameing functionality