Factor train info into its own layer.