[BUGFIX] Fix 'as' argument

The as argument was not accessible, as the method signature and Doc-Comment was missing it
Merge pull request #334 from cedricziel/sliceFix

[BUGFIX] Fix 'as' argument