ldirectord template and extended model