Added ability to track enum and message types so that imported types can be tracked. Added unit tests for import.