Handles unpacking and organizing submissions.