Implement declare support