Allow compilation. 

Built okay the first time but jenkins doesn't like the Object -> double cast.