Need to access by port name; add option check and maybe a null check; provide casting via template somehow.