Added ip2long function that returns an unsigned int.
Input model callbacks are optional if they're optional.