Keep the original constructor for backward compatiblity