Fix issue with blocks without arguments but different return type