Extend Python completions with logging and some templates