Added crop option to API