ちょっと前まで使ってたClass定義 ref: http://qiita.com/bobby_smv/items/d464198c4fbdb346a57d