Hook to customize flow keyspace