Add the source code and register definitions