Fixed extension method so it is actually now an extension method >_>

Signed-off-by: Martin Evans <martindevans@gmail.com>