Put back in mistakenly deleted functions