Allow patched SP and Encoders to be called with keyword arguments