Add support for adding resources