Improved package and document handling and added flow rule tests.