Add macros for easy control implementation.