Add beforeRender callback. Closes #84