Added base rails integration.