Removed the lines where pointing variables was trying to access ra and dec members.