Use functions to return directories instead of constants.