realm and path def enhancements

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