Fixes types.