These two methods should probably be on an `ImportsController`