Added end() method hook to be called after render()