Add prototypes for begin / end rendering.