Added missing classes and added ray tracing.