Added directed class