Added rendered hooks (fix #330)