Write interfaces and get the imports.