Fixed #1494

Added a return value to the static Init() method.