Moved headers config in models/collections instead of in calling code