[C++11] Removing the types_begin() and types_end() APIs and replacing with a range-only types() API.