The cast is at least needed, but I can remove the manual unboxing.  I am not personally a fan of auto unboxing :P