Made depictor interfaces typesafe.