update functions for enabling inheritance with atmel toolchain