Additional type checks for https://github.com/philbooth/check-types.js