Add functional parameter block type
- Use statementToCode rather than valueToCode for functional blocks