Fixed proc and func snippets