Support OptionalLong, OptionalInt as a parameter type