Allow nullable classes