Use slicing syntax instead of methods and add a feature gate

cc @aturon 

r? anyone?
Is this temporary?