Added UILayer implementation