Change expected type of value and return null if capability does not exists.