Add directives for python-view