Template class for Nephia