Implement API.get_domains() and Domain.info() methods.