Make the syntax more flexible by allowing passing any object as a name.