Added recored type selector.

Added recored type selector.

Fixed a lint error.