Added missing getters/setters and created some constructors.