Reassigning directives and renaming 'folio' classes