Add missing age implementation
Improve error logging