E2 also compiles with REGISTER_***_FACTORY macros