Don't hardcode in configuration
Remove dead code
Extract interface for fetching publications