Only return an instance if resource could be found