Added initialization functions.