Fix "no such method" error.