Added _checkType for generally using.