Add menu functionality.