Added macro for deprecation attribute