Move shareable rcc functions to platform