Clean code
Deleted calls to functions beforeRender, afterRender