fixing overrideable init for BasicPillow

overrideable doc_class if need be, for tests, etc.