Messing with directives and maps