Fix typo.
Fix some more bugs in resources around bucket types.