Change some stuff to public
MSSQL compatibility when creating indexes