Added backward comp. for constructor