Port functions to boost function