What are the legal duties of directors?