Supporting replaces for subdirectives