Changes to work with Lenny MoinMoin 1.7, not ideal solution