1. -Fix a bug that export twice will cause crash.
1. -Add an interface.