Correct object order: packages body before package. Add sequences