Added some might be needed delegate functions.