Added new methods along the Ray class