Added return, for methods.

Added a return for methods, actually making another use for methods
which is nice.
Also added loads of string.* stuff. Replaced 'trim' with 'string.trim'