Added raycast support