Attach state_t to export uniformly inside state_add_impl

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
TEMP

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>