Add macros for partial render