Added render_spaces option