Some bug fixes and new methods for embedded resources.