Manually adding accessors to overcome specialization bugs.