Add a directory property for accessing the module's source directory.