Make widget key optional.