Added sampling rate to the Loader.