Remove references to 'apply' from comments and docs