Use typedef for blocks