Allow resources to be added programmatically.
Bump version to 0.3.4.