realm and path def enhancements