Added setStatus proctected method