Add a Serialize#substr method.