Only pull in the subset of rails that we need.