Modified some interface functions.