Use instance vars in record constructor