migrated and documented most of sd namespace.