Initialize struct for compatibility with newer mcs