Refactored FB connector.