Little error on objects (off-by-one mistakes).
Added proper spec for complex actions (spotted a off-by-one mistake).