Assign and List directive fixes and tests
Fix use of deprecated APIs in Plugin class