Fix "no method" error in issue 293