Add support for function provided data in each and block each