Make Pool a generic Class for inbound or outbound messages