Revert "Moved UIContextImpl specific methods to UIContextImpl"

This reverts commit 1cb5ff2b29ebeacb6e14aeaabd38dfa1ea16b977.