Fixed unnecessary warning, and updated static initialization methods. 

This fixes issue #208