Some most common used code snippet.