Added outline support for foreign keys, but not yet complete.