code generated metadata loader so far