Added as<unsigned int> -- use it only if you are sure you're getting an unsigned int!