Add type check methods to Value