Prepare for library export