Widget factory: Conforming to coding standards.