add attribute readers for config, incomplete