Working on that subclass casting issue

Signed-off-by: Joe Buck <jbbuck@gmail.com>