In the attribute editor, look for the "Render Stats" tab. under this tab, turn off Primary Visibility as well as Receive Shadows.