Create a macro for registering subchunk types.