Updated loading functions.