change: improvement to method declaration logic.
change: __call metamethod has been added. this method define the static methods via passed table.