Type hinting for renderer