Revert "Remove get_class in favour of ::class"

This reverts commit 968bee4edc29821e7fef84abbea556eb8acb740e.