Getters added, default constructor modified.