For ticket #20625 to allow defining chainable QuerySet on custom model managers.

Ticket #20625 - https://code.djangoproject.com/ticket/20625