Issue #506936 by Zhgenti: Render API is used instead of just theming function. plus1_get_cleared_destination() has been added. Code style corrections.