permits setting size in directive.