Moving view creation to decorators