Fixed calls to undefined methods.