Small style fix.
Added factory method for Instruction class.