Add import function

Final newline missing.