Added accessor methods for Table and ReferencesTable to foreign key elements