Use named block argument to avoid writing additional block in method implementation