Made all constructors with single arguments explicit; minor code formatting changes for style consistency.