implementation reflectio part of serialization.