Template for Net class