core: Start marking some arguments and methods as internal per #870