A new approach to hyperbolic metamaterials