No more need to cast with the enforce_type in XBlock