Refactorings for drawable attribs processing