Getting rid of some boilerplate code.