revert ::class to support 5.4