Minor code improvements in cube attacl.