Wraps up tryparse methods with nullable types