Re-enable 'dim' with 2 arguments ( see trac/ticket/505 )