extracted rendering handlers