Add support for getting size at compile-time