Abstracted port to config