BUG: Fix exception when using capital_base as a kwarg to an algorithm.

Need to pop of the kwarg, since `initialize` does not use it as a
parameter.