need to extend basedecorater

we are calling $this->createDecorator in decorateRelations.
missed out to extend basedecorater
Merge pull request #33 from codbox/master

need to extend basedecorater