adding structure for has_temporal_scopes ActiveRecord::Base extension.