serialization added for action classes