Add createMenu method with center argument.