Improves handling of methods, adds dot products