improved actions parsing to make it easier for client software to use.