Removes bogus styles , minor change to directives.