Initial scripting hooks to use FlatField metadata