Sorted some initilization.