Added  basic "function" and "procedure" directives