Moved custom implementations to main process for now.