Adds optional space prefix for testing purposes.