Updated attributes settings to protected.