Fix ‘unrecognize selector sent to instance’ bug.