I have no idea.

@duboisp Could you please add a comment for the above code so it is clear what type === 7 means?