Add python3 and JAVA directives