Fixed urls.
Icon attribute can now be a function.