Working on fixes for Resource for transitioning to Ecto