Revert "A convenience PopupMenu extension."

This reverts commit 00c35a1323d9a206089d2d8238dd71fed81061f7.