Completed functions.