In Bounded, you can find a safeCast method that simplifies creation of that kind of Prism