Gave default implementations to overridable port methods.