factor out some static metadata into an object fields