Making Timeline std::functions passed as const refs