Added missing functions.