Codesniff cleanup for twitter class