Not sure why this is necessary, can probably be removed.