Core for custom renderer