Compliancy fixes for Array#shift