Add codes and related resources.