Port utility methods.