Moved UIContextImpl specific methods to UIContextImpl