Added init for compatibility with newer Fx versions