Added function definitions and blocks.