Added scheme functions.