Use type helper functions.