Extract element creation to private methods