Allow setting of pool `create` function in option