Template now properly formatted (.h only)
Fixed alloc size.