(1) Added missing port type declaration. (2) adding missing default assignments.