Moved around constructor arguments so it wasn't so long.