Refactor destroy method for programs.
Refactor show method for programs.