API setter and getter now static