Reimplementation of NSPort