Fixed crash when non-method slot is called.