Replace brfs with partialify