Added ray and hit boilerplate