Moved constructor to source file.