Added several frontend and other functions.