Added rest, slice and get. Also added a test to ensure chainability.