Removed some inconsistences, replaced some old methods with dynamically generated versions from Model::has_many and Model::belongs_to