Add memory sources in setup.