Some more strict variable checking.