Add builtin function support
Update builtin function signatures to support environment