Contrasted with contract of employment