Finished some action handling stuff.