Suppressed "unchecked" warning when using reflection in Director