CORE: move wireCallsToCoreFunctions into core library.