Add function support
Simplified syntax