Adding constructors which read from a resource.