Replaced hardcoded reference with ::class