Register custom PythonType

Is it to create text file under META-INF/services?
And put org.nd4j.python4j.MyPythonType to the text file?