Block should be an optional parameter.