Methods added to check and retrieve states for particular tasks.