realm and path def enhancements

Per the request that small changes come through a change request.
#95, #96