Added (minimal) Module for Active record support