Removes extra EXPORT lines