Added getter and setter methods for success and errors variables so they can be set from extended classes