Remove deprecated apply() builtin.
Merge pull request #587 from berkerpeksag/patch-1

Remove deprecated apply() builtin.