You would also have to be sure your parameters are serializable.