Fix for strict waring in crud example. Closes #360