I've checked again just to make sure, and yes, talent behavior is hardcoded indeed:
https://dl.dropboxusercontent.com/u/32263228/dos/talents.png