Moved as many callback setters as possible to macro function generators