removed the obsolete return in before() method
added parent::before() call to the beginning of the method (hat tip to @flyder)
moved parent::after() to to end of the method (hat tip to @flyder)