revert static_asserts - they warn even if the function isn't called