Define prototype vars in the constructor.