Adding constructor to omit warnings