Add codes and resources.