Added library export and template specializations