Version 1.2.0 : Now compatible with functions that receive blocks.