Added primitive to get the partitions a task is contained in.
Added updating of messages in affected files.