Closes #351 - Changed protected fields into private fields in the restful-api module