Filled in some action functions.