Adding constant
- Also fixing apply example.