Set optional parameters as nullable