Implementing UI types class