Adding object functions.