Removed superfluous as_refs_slice implementation.
Redesigned ToMessage to have a type param.