uapp and ukm (factored out from minneron)