Added more states for implements and interface.