Added import/insert functionality.