Simplifying piece code.