Removed call to irrelevant security check; fixed BTN and TL.
Added lighter solution without pre-build T4 and post-build assembly signing.