Fixed #25. Fixed #26. Fixed #27. Fixed #28.