Merge "Revert "Revert "Make object allocation entrypoints only take a class."""