Custom block renderer for bamboo, cleaning up