Do you need the asInstanceOf?