Fixing aliasing for static methods