Partially works.
Fix unloading problem.
Further testing.