added support for Record slicing (#186)