Removed active_record dependancy, which was unused, to it can be used on non-active_record projects.