Fix doc typo and check callable on Resource::__invoke()